import { Suspense } from "react"
import { createBrowserRouter,RouterProvider } from "react-router-dom"
import router from "./router"


function App() {

  return (
    <>
    <Suspense fallback={<h1>Loading...</h1>}>
    <RouterProvider router={createBrowserRouter(router)} />
    </Suspense>
    </>
  )
}

export default App
